package app.action;

import java.awt.event.ActionListener;

import app.ui.AbsCommonPanel;

public abstract class AbsCommonPanelAction implements ActionListener {
	protected AbsCommonPanel absCommonPanel;
	
	public AbsCommonPanelAction(AbsCommonPanel absCommonPanel) {
		this.absCommonPanel = absCommonPanel;
		doCatenation();
	}
	
	/**
	 * Catenate the {@link AbsCommonPanel} to the panel which
	 * holds this action
	 * @variable absCommonPanel
	 */
	protected abstract void doCatenation();
}
